//
//  MYSelectCoverView.h
//  MiaoYin
//
//  Created by juweitu on 2020/7/8.
//  Copyright © 2020 thy. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MYSelectCoverType)
{
    ///相机
    MYSelectCoverTypeCamera       = 10000,
    ///相册
    MYSelectCoverTypePhotoAlbum   = 10001,
    ///从该段视频中选择
    MYSelectCoverTypeVideo        = 10002,
};

typedef void (^ MYSelectCoverCompletion)(MYSelectCoverType type);

@interface MYSelectCoverView : UIView

- (void)showWithCompletion:(MYSelectCoverCompletion)completion;
@end

NS_ASSUME_NONNULL_END
